<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edituser.aspx.cs" Inherits="GleamTech.FileVista.EditUserPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%=InsertInfo%>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><%=language.GetString("545")%></title>
    	<link href="filevistacontrol/styles/default.css" rel="stylesheet" />
		<script src="filevistacontrol/scripts/library/utility.js" type="text/javascript"></script>
        <script src="scripts/administration.js" type="text/javascript"></script>
		<script type="text/javascript">
	        function CheckBoxInit() {
	            var checkBox1 = document.getElementById("CheckBox1");
                var checkBox2 = document.getElementById("CheckBox2");
	            var checkBox3 = document.getElementById("CheckBox3");
	            
                checkBox3.disabled = (checkBox1.checked || checkBox2.checked);
                checkBox1.disabled = checkBox3.checked;
                checkBox2.disabled = checkBox3.checked;
	        }
        </script>        	
    </head>
    <body id="BodyTag" runat="server" class="dialog">
        <form id="form1" runat="server">
            <asp:HiddenField ID="ClientMessage" runat="server" />
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false" />
			<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; height: 100%;">
              <tr valign="top">
                    <td>
                        <table cellpadding="4" cellspacing="0" border="0" class="generalText">
				            <tr>
				                <td style="width: 100px"><%=language.GetString("593")%></td>
				                <td>
				                    <asp:TextBox ID="Username" runat="server" style="width: 250px" MaxLength="30"></asp:TextBox>
				                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Username">!</asp:RequiredFieldValidator>
			                   </td>
			                </tr>
				            <tr><td><%=language.GetString("594")%></td><td><asp:TextBox ID="Fullname" runat="server" style="width: 250px" MaxLength="50"></asp:TextBox></td></tr>
				            <tr>
				                <td><%=language.GetString("595")%></td>
				                <td>
				                    <asp:TextBox ID="Email" runat="server" style="width: 250px" MaxLength="50"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">!</asp:RegularExpressionValidator>
				                </td>
			                </tr>
				            <tr><td><%=language.GetString("557")%></td><td><asp:TextBox ID="Description" runat="server" style="width: 250px" MaxLength="100"></asp:TextBox></td></tr>
				            <tr><td colspan="2"><hr /></td></tr>
                            <tr><td colspan="2">
                                <asp:CheckBox ID="CheckBox6" runat="server" />
                                <table cellpadding="4" cellspacing="0" border="0" style="margin-left: 20px; margin-top: 5px">
				                    <tr>
				                        <td><%=language.GetString("503")%></td>
				                        <td align="right">
				                            <asp:TextBox ID="Password" runat="server" style="width: 210px" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password">!</asp:RequiredFieldValidator>
                                        </td>
			                        </tr>
				                    <tr>
				                        <td><%=language.GetString("596")%></td>
				                        <td align="right">
				                            <asp:TextBox ID="PasswordConfirm" runat="server" style="width: 210px" TextMode="Password"></asp:TextBox>
                                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="PasswordConfirm" ControlToValidate="Password">!</asp:CompareValidator>
                                        </td>
				                    </tr>
                                </table>
                             </td></tr>
                            <tr><td colspan="2">
                                <asp:CheckBox ID="CheckBox3" runat="server" />
                                <br /><asp:CheckBox ID="CheckBox2" runat="server" />
                                <br /><asp:CheckBox ID="CheckBox1" runat="server" />
                            </td></tr>
                            <tr><td colspan="2"><hr /></td></tr>
                            <tr><td colspan="2">
                                <asp:CheckBox ID="CheckBox4" runat="server" />
                                <br /><asp:CheckBox ID="CheckBox5" runat="server" />
                            </td></tr>
                        </table>
                    </td>
                </tr>
			</table>
			<div style="position:absolute; right:5px; bottom:10px"><asp:Button ID="Button1" runat="server" style="width: 80px" OnClick="Button1_Click" />&nbsp;<asp:Button ID="Button2" runat="server" Text="Button" style="width: 80px" OnClientClick="parent.ModalDialog.close(); return false;" /></div>
        </form>
    </body>
</html>
